<template>
  <div>
    <label :for="attr">{{ title }}:</label><input type="text" :id="attr" />
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: [String, Number],
      required: true
    },
    attr: {
      type: String,
      required: true
    }
  }
  //template:"<div>-{{title}}-</div>"
};
</script>
